void f(int n)
{
    double *B = new double[n]; // V C++
    // double *B = (double*)malloc(n*sizeof(double)); // V C
    // a dal zpracovn
}